﻿using System;

namespace Yawf.Web.Mail {
	public class Mail {
		private String to;
		private String from;
		private String cc;
		private String bcc;
		private String subject;
		private String template;
		private bool isHtml = true;
		private bool doSendAsync = true;

		public String From { get { return from; } set { from = value; } }
		public String To { get { return to; } set { to = value; } }
		public String Cc { get { return cc; } set { cc = value; } }
		public String Bcc { get { return bcc; } set { bcc = value; } }
		public String Subject { get { return subject; } set { subject = value; } }
		public String Template { get { return template; } set { template = value; } }
		public bool IsHtml { get { return isHtml; } set { isHtml = value; } }
		public bool DoSendAsync { get { return doSendAsync; } set { doSendAsync = value; } }
	}
}
